package cn.jjxx.modules.jgkh.service.impl;

import java.util.List;
import cn.jjxx.core.common.service.impl.CommonServiceImpl;
import cn.jjxx.modules.jgkh.mapper.JgkhMonthCountMapper;
import cn.jjxx.modules.jgkh.entity.JgkhMonthCount;
import cn.jjxx.modules.jgkh.service.IJgkhMonthCountService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**   
 * @Title: 月整改情况统计
 * @Description: 月整改情况统计
 * @author yw
 * @date 2022-01-12 13:41:24
 * @version V1.0   
 *
 */
@Transactional
@Service("jgkhMonthCountService")
public class JgkhMonthCountServiceImpl  extends CommonServiceImpl<JgkhMonthCountMapper,JgkhMonthCount> implements  IJgkhMonthCountService {

	@Override
	public boolean insertBatch(List<JgkhMonthCount> list) {
		if(list!=null&&list.size()>0){
			return baseMapper.insertBatch(list);
		}
		return true;
	}

	@Override
	public boolean updateBatch(List<JgkhMonthCount> list) {
		if(list!=null&&list.size()>0){
			return baseMapper.updateBatch(list);
		}
		return true;
	}
}
